﻿window.$ = window.Ctn = function(selector, context){
    /// <summary>核心函数</summary>
    /// <param name="selector" type="String">
    /// <UL><LI>用来查找的字符串</LI>
	/// <LI>html - 用于动态创建DOM元素的HTML标记字符串</LI>
	/// <LI>elements - 用于封装成jQuery对象的DOM元素</LI>
	/// <LI>callback - 当DOM加载完成后要执行的函数</LI></UL>
    /// </param>
    /// <param name="context" type="Document|Element">HTML及XML文档或元素</param>
    /// <returns type="Ctn.Core"></returns>
    return new Ctn.Core();
}

Ctn.Core = function(){
    
}

/// <summary>Ext core utilities and functions.</summary>
Ctn.Core.prototype = {
    val: function(value){
        /// <summary>Ext core utilities and functions.</summary>
        /// <param name="value" type="String"></param>
        /// <returns type="String"></returns>
    },
    html: function(html){
        /// <summary>Ext core utilities and functions.</summary>
        /// <param name="html" type="String"></param>
        /// <returns type="String"></returns>
    },
    text: function(text){
        /// <summary>Ext core utilities and functions.</summary>
        /// <param name="html" type="String"></param>
        /// <returns type="String"></returns>
        
        return new String();
    }
};
